/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package IF6501;

import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author ariefiandinugraha
 */
public class NewMain {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        File file1 = new File("/Users/ariefiandinugraha/Documents/KULIAH_S2/bahan_thesis/tesis/ML_IF6051/negatif_183.txt");
        File file2 = new File("/Users/ariefiandinugraha/Documents/KULIAH_S2/bahan_thesis/tesis/ML_IF6051/stopwords.txt");
         try {
            Praproses pr = new Praproses();
            pr.setIgnoreFile(file2);
            pr.removeStopWord(file1);
        } catch (Exception ex) {
            Logger.getLogger(Praproses.class.getName()).log(Level.SEVERE, null, ex);
        }
        
    }
}
